<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center chongzhijilu_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub chongzhijilu_fd0_0'>
					<view class='flex flex-wrap align-center chongzhijilu_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  chongzhijilu_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='chongzhijilu_fd0_0_c1_c0'>充值记录</text>
					</view>
					<view class='flex flex-wrap align-center justify-end chongzhijilu_fd0_0_c0'>
					</view>
				</view>
			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex benben-flex-layout flex-wrap align-center chongzhijilu_flex_1">
				<view class='flex flex-wrap align-center justify-between chongzhijilu_fd1_0' v-for="item in fadoulist">
					<view class='flex flex-wrap align-center justify-between chongzhijilu_fd1_0_c0'>
						<view class='flex flex-direction flex-wrap align-stretch'>
							<view class='flex flex-wrap align-center'>
								<text class='chongzhijilu_fd1_0_c0_c0_c0_c0'>充值{{item.order_money}}元</text>
							</view>
							<view class='flex flex-wrap align-center'>
								<text class='chongzhijilu_fd1_0_c0_c0_c1_c0'>{{item.pay_time}}</text>
							</view>
						</view>
						<view class='flex flex-wrap align-center'>
							<text class='chongzhijilu_fd1_0_c0_c1_c0'>+{{item.fadou}}法豆</text>
						</view>
					</view>
				</view>
				<view class="noshuju" v-if="fadoulist.length==0">
					<image src="../../../static/empty/order.png" mode=""></image>
				</view>
			</view>
			<!---flex布局flex布局结束-->
		</view>
	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				fadoulist:[],
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			this.get_userbuyfadou();
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			get_userbuyfadou(){
				this.$api.get(global.apiUrls.get_userbuyfadou, {
					page:"1",
					list_rows:10000,
				}).then(res=>{
					if(res.data.code=1){
						this.fadoulist = res.data.data.data;
					}
				})
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #eee;
		background-size: 100% auto;
	}
	.noshuju{
		width: 100%;
		overflow: hidden;
	}
	.noshuju image{
		width: 300rpx;
		height: 300rpx;
		display: block;
		margin: 100rpx auto;
	}
	.chongzhijilu_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.chongzhijilu_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 700;
		color: #333333;
		line-height: 50rpx;
	}

	.chongzhijilu_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.chongzhijilu_fd0_0_c0 {
		width: 120rpx;
	}

	.chongzhijilu_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.chongzhijilu_flex_1 {
		background: #fff;
		background-size: 100% auto;
	}

	.chongzhijilu_fd1_0_c0_c1_c0 {
		color: #01BF85;
		font-size: 28rpx;
		font-weight: 400;
	}

	.chongzhijilu_fd1_0_c0_c0_c1_c0 {
		color: #666666;
		font-size: 24rpx;
		font-weight: 400;
		margin: 14rpx 0rpx 0rpx 0rpx;
	}

	.chongzhijilu_fd1_0_c0_c0_c0_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
	}

	.chongzhijilu_fd1_0_c0 {
		width: 690rpx;
		margin: 0rpx 0rpx 0rpx 30rpx;
	}

	.chongzhijilu_fd1_0 {
		border-top: 1px solid rgba(242, 242, 242, 1);
		width: 100%;
		height: 135rpx;
	}
</style>